package com.example.tupu.repository;

import com.example.tupu.relationship.ReDynasty;
import org.springframework.data.neo4j.repository.Neo4jRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface ReDynastyRepository extends Neo4jRepository<ReDynasty,Long> {
    List<ReDynasty> findAllByTitle(String title);
}
